//
//  PositionModel.m
//  Custom_Weibo
//
//  Created by LEO on 12/18/15.
//  Copyright © 2015 Leo_Lei. All rights reserved.
//

#import "PositionModel.h"

@implementation PositionModel

/*  Since the variation name is different from its property name, you should 
 rewrite this method.
 */
- (void)setAttributes:(NSDictionary *)dataDic {
    [super setAttributes:dataDic];
    _positionID = [dataDic objectForKey:@"poiid"];
    _longitude = [dataDic objectForKey:@"lon"];
    _latitude = [dataDic objectForKey:@"lat"];
}

@end
